package cms.com.yh.contorller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * @ClassName: RouteController.java
 * @author: yuhui
 * @version: 1.0.0
 * @Description: TODO
 * @createTime: 2021年04月20日 01:02:00
 */
@Controller
@RequestMapping("rot")
public class RouteController {
    /**
     * 功能描述: 客户模块路由[ —> cusList.js ]
     * @Author: yuhui  2021/4/9 23:41
     */
    @RequestMapping("customerList.do")
    public String customerList() throws ServletException, IOException {
        return "/WEB-INF/view/custo/cusList.jsp";
    }

    @RequestMapping("updatePwd.do")
    public String updatePwd() throws ServletException, IOException {
        return "/WEB-INF/view/custo/upPwd.jsp";
    }

    @RequestMapping("updateImg.do")
    public String  updateImg() throws ServletException, IOException {
        return "/WEB-INF/view/custo/upImg.jsp";
    }
}
